import Layout from '@/layout'
export default {
  path: '/dispatch',
  meta: { title: '调度管理', icon: 'dispatch' },
  name: 'Dispatch',
  component: Layout,
  children: [
    {
      path: '/transportationTasks',
      name: 'TransportationTasks',
      meta: { title: '运输任务管理' },
      component: () => import('@/views/Dispatch/module/transportation-tasks')
    },
    {
      path: 'route',
      name: 'Route',
      meta: { title: '线路管理' },
      component: () => import('@/views/Dispatch/module/route')
    },
    {
      path: 'pickUp',
      name: 'PickUp',
      meta: { title: '取件管理' },
      component: () => import('@/views/Dispatch/module/pick-up')
    },
    {
      path: 'delivery',
      name: 'Delivery',
      meta: { title: '派件管理' },
      component: () => import('@/views/Dispatch/module/delivery')
    }
  ]
}
